import request from "@/utils/request";

export function getCode(phoneNum) {
  return request({
    url: "/phone/code?phoneNum=" + phoneNum,
    method: "get",
  });
}
export function reset(data) {
  return request({
    url: "/reset/pass",
    method: "post",
    data: data,
  });
}
